#!/usr/bin/env python
#-*- coding:utf-8 -*-
# author:Vergil
# datetime:2019/2/25 19:01
# software: PyCharm
from django.urls import path
from . import views

app_name = 'post'
urlpatterns = [
    path('post/', views.postListView.as_view(), name='post'),
    path('<int:pk>/post_category/', views.postCategoryView.as_view(), name='post_category'),
    path('<str:pk>/post_detail/', views.post_detail, name='post_detail'),
    path('post_publish/', views.post_publish, name='post_publish'),
    path('post_like/', views.post_like, name='post_like'),
]